package com.zhida.common.utils;

import org.springframework.stereotype.Component;

@Component
public class StaticKeyUtil {
    public static final int TOKEN_EXPIRE_TIME = 7;
    public static final String TOKEN_KEY = "TOKEN:";
    public static final String WS_OFFLINE_KEY = "WS:OFFLINE_MSG:";
    public static final String WS_PERSONAL_MSG_KEY = "WS:PERSON_MSG:";
    public static final String WS_GROUP_MSG_KEY = "WS:GROUP_MSG:";
    public static final String WS_USER_KEY = "WS:USER:";
    public static final String ROOT_KEY = "root";
    public static final String FILE_SERVER_DIR = System.getProperty("user.dir");
    public static final String WS_GROUP_IMAGE_UPLOAD_DIR = "ws/image/group/";
    public static final String WS_USER_IMAGE_UPLOAD_DIR = "ws/image/user/";
    public static final String USER_ROLE_KEY = "USER:ROLE";
    public static final String CURRENT_PATH = System.getProperty("user.dir");
    public static final String ACTIVITY_IMAGE_UPLOAD_DIR = "fileDir/activity/image/";
    public static final String COURSE_IMAGE_UPLOAD_DIR = "fileDir/course/image/";
    public static final String USER_HEADER_IMAGE_UPLOAD_DIR = "fileDir/user/header/image/";
    public static final String MUTE_KEY = "MUTE:";
    public static final String CODE_KEY = "CODE:";
}
